package com.yugao.fintech.draper.core.support;

import com.fasterxml.jackson.databind.module.SimpleModule;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;

public class JavaLongTypeModule extends SimpleModule {

	public JavaLongTypeModule() {
		// Long 转 String
		this.addSerializer(Long.TYPE, ToStringSerializer.instance);
		this.addSerializer(Long.class, ToStringSerializer.instance);
	}

}